package org.linlinjava.litemall.db.config;

import org.beetl.sql.core.mapper.BaseMapper;
import org.beetl.sql.core.query.LambdaQuery;

/**
 * 用于拓展公用方法
 * @author Administrator
 *
 * @param <T>
 */
public interface LiteMallMapper<T> extends BaseMapper<T> {

	default LambdaQuery<T> createLambdaQuery() {
		//LambdaQuery lambdaQuery = this.getSQLManager().lambdaQuery(this.getTargetEntity());
		return new ItexLambdaQuery<T>(this.getSQLManager(), this.getTargetEntity());
	}
	
}
